import request from '@/utils/request'

// 添加/修改-用户个性设置数据API（post）/back/privateSet/adupPrivateSet
export const adupPrivateSet = (data) => request.post('/back/privateSet/adupPrivateSet', data)

// 获取-用户个性设置数据列表API（post）/back/privateSet/getPrivateSetList
export const getPrivateSetList = (data) => request.post('/back/privateSet/getPrivateSetList', data)

// 获取-优惠券设置/领取列表-分页（/back/dataset/discountList）
export const discountList = (data) => request.post('/back/dataset/discountList', data)

// 获取单位车辆所有座位数(/company/safetyCenter/getAllSeats)
export const getAllSeats = (data) => request.post('/company/safetyCenter/getAllSeats', data)

// 获取系统地点分页列表（/back/stationList/getStationListPages）
export const getStationListPages = (data) => request.post('/back/stationList/getStationListPages', data)

// 添加优惠券设置（/back/dataset/addRouteDiscount）
export const addRouteDiscount = (data) => request.post('/back/dataset/addRouteDiscount', data)

//修改优惠券设置（/back/dataset/updateRouteDiscount）
export const updateRouteDiscount = (data) => request.post('/back/dataset/updateRouteDiscount', data)

//删除优惠券设置（/back/dataset/delRouteDiscount）
export const delRouteDiscount = (data) => request.post('/back/dataset/delRouteDiscount', data)
//获取系统站点下拉框（/common/findStationCombo）
export const findStationCombo = (data) => request.post('/common/findStationCombo', data)
